package com.mike.server.system.mail;

import org.apache.log4j.Logger;

import com.mike.server.engine.IGameMessage;
import com.mike.server.support.BaseService;

public class MailService extends BaseService{
	
	private static final Logger LOG = Logger.getLogger(MailService.class);
	
	private static MailService instance = new MailService();
	
	private MailService() {
		//Don't allow new it outside.
		LOG.info("初始化邮件系统");
	}
	
	public static MailService getInstance() {
		return instance;
	}

	@Override
	public void onReceive(IGameMessage gameMessage) {
		LOG.info("onReceive: >> " + gameMessage.getType());
	}
}
